﻿/*Information about the author
@author: Nhựt Đào
@Job: Design & develop html
@Website: n/a
@Persionalmail: daoxuannhut@gmail.com or daoxuannhut@outlook.com
@yh: daoxuan_nhut
@sky: mr.asut27
================================================*/
$(document).ready(function () {
    //comment this animation.
    //event click with button link
    $('button[type=submit],button[type=button]').click(function () {
        var $this = $(this);
        if ($this.hasClass('btn-link')) {
            var dlink = $this.data('link');
            window.location = dlink;
            //alert(dlink)
        } else {
            console.log('is not btn link');
        }
    });
    //event radio checked
    //var rc = $('input[name=radio]');
});